package com.cwf.metadatamanage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cwf.metadatamanage.model.pojo.Table;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 元数据表
 * Mapper 接口
 * </p>
 *
 * @author chenweifeng
 * @since 2021-09-01
 */
@Mapper
public interface TableMapper extends BaseMapper<Table>{

    Table selectById(@Param("id") Long id);

    List<Table> selectTableList(@Param("organizationId") Long organizationId, @Param("systemId") Long systemId);
}
